
#include "Protothread.h"
#include "Arduino.h"
#include "main.h"



class LEDFlasher : public Protothread
{
    public:
        virtual bool Run();
};


bool LEDFlasher::Run()
{
    digitalWrite(LED1_PIN, digitalRead(KEY1_PIN));
    PtOsDelay(5);
    return 1;
}




LEDFlasher ledFlasher;


